package com.dlu.safe_construction;

import com.dlu.safe_construction.common.utils.AppBootUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(scanBasePackages = {
		"com.dlu.safe_construction",
		"com.dlu.safe_construction.common.config"
})
@ServletComponentScan(basePackages = {
		"com.dlu.safe_construction.controller"
})
@MapperScan(basePackages = {"com.dlu.safe_construction.mapper"})
@EnableAutoConfiguration
public class SafeConstructionApplication {

	public static void main(String[] args) {
		AppBootUtils.run(SafeConstructionApplication.class, args);
	}

}
